package com.kkks.spring_rest.tick.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractWhoShippingArea entity provides the base persistence definition of
 * the WhoShippingArea entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractWhoShippingArea implements java.io.Serializable {

	// Fields

	private Integer shippingAreaId;
	private String shippingAreaName;
	private Short shippingId;
	private String configure;
	private Integer shippingLastupdate;
	private Double fristWeight;
	private Double lastWeight;

	// Constructors

	/** default constructor */
	public AbstractWhoShippingArea() {
	}

	/** full constructor */
	public AbstractWhoShippingArea(String shippingAreaName, Short shippingId,
			String configure, Integer shippingLastupdate, Double fristWeight,
			Double lastWeight) {
		this.shippingAreaName = shippingAreaName;
		this.shippingId = shippingId;
		this.configure = configure;
		this.shippingLastupdate = shippingLastupdate;
		this.fristWeight = fristWeight;
		this.lastWeight = lastWeight;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "shipping_area_id", unique = true, nullable = false)
	public Integer getShippingAreaId() {
		return this.shippingAreaId;
	}

	public void setShippingAreaId(Integer shippingAreaId) {
		this.shippingAreaId = shippingAreaId;
	}

	@Column(name = "shipping_area_name", nullable = false, length = 150)
	public String getShippingAreaName() {
		return this.shippingAreaName;
	}

	public void setShippingAreaName(String shippingAreaName) {
		this.shippingAreaName = shippingAreaName;
	}

	@Column(name = "shipping_id", nullable = false)
	public Short getShippingId() {
		return this.shippingId;
	}

	public void setShippingId(Short shippingId) {
		this.shippingId = shippingId;
	}

	@Column(name = "configure", nullable = false, length = 65535)
	public String getConfigure() {
		return this.configure;
	}

	public void setConfigure(String configure) {
		this.configure = configure;
	}

	@Column(name = "shipping_lastupdate", nullable = false)
	public Integer getShippingLastupdate() {
		return this.shippingLastupdate;
	}

	public void setShippingLastupdate(Integer shippingLastupdate) {
		this.shippingLastupdate = shippingLastupdate;
	}

	@Column(name = "frist_weight", nullable = false, precision = 10)
	public Double getFristWeight() {
		return this.fristWeight;
	}

	public void setFristWeight(Double fristWeight) {
		this.fristWeight = fristWeight;
	}

	@Column(name = "last_weight", nullable = false, precision = 10)
	public Double getLastWeight() {
		return this.lastWeight;
	}

	public void setLastWeight(Double lastWeight) {
		this.lastWeight = lastWeight;
	}

}